package com.oms.domain;

import java.sql.Timestamp;

/**
 * MemberAuthority entity. @author MyEclipse Persistence Tools
 */

public class MemberAuthority implements java.io.Serializable {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = -3144429710947086647L;
	
	// Fields
	private Integer memberAuthorityId;
	private Massorganizationauthority massorganizationauthority;
	private CommuneMemberinfo communeMemberinfo;
	private Timestamp authorityObtainTime;
	private Timestamp authorityExpiryTime;
	private Boolean canGrant;
	private Integer grantor;
	private Timestamp lastUpdateTime;
	private Boolean deleteTag;
	private String expandBar1;
	private String expandBar2;

	// Constructors

	/** default constructor */
	public MemberAuthority() {
	}

	/** minimal constructor */
	public MemberAuthority(Massorganizationauthority massorganizationauthority,
			CommuneMemberinfo communeMemberinfo, Timestamp authorityObtainTime,
			Boolean canGrant, Integer grantor, Boolean deleteTag) {
		this.massorganizationauthority = massorganizationauthority;
		this.communeMemberinfo = communeMemberinfo;
		this.authorityObtainTime = authorityObtainTime;
		this.canGrant = canGrant;
		this.grantor = grantor;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public MemberAuthority(Massorganizationauthority massorganizationauthority,
			CommuneMemberinfo communeMemberinfo, Timestamp authorityObtainTime,
			Timestamp authorityExpiryTime, Boolean canGrant, Integer grantor,
			Timestamp lastUpdateTime, Boolean deleteTag, String expandBar1,
			String expandBar2) {
		this.massorganizationauthority = massorganizationauthority;
		this.communeMemberinfo = communeMemberinfo;
		this.authorityObtainTime = authorityObtainTime;
		this.authorityExpiryTime = authorityExpiryTime;
		this.canGrant = canGrant;
		this.grantor = grantor;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
		this.expandBar1 = expandBar1;
		this.expandBar2 = expandBar2;
	}

	// Property accessors

	public Integer getMemberAuthorityId() {
		return this.memberAuthorityId;
	}

	public void setMemberAuthorityId(Integer memberAuthorityId) {
		this.memberAuthorityId = memberAuthorityId;
	}

	public Massorganizationauthority getMassorganizationauthority() {
		return this.massorganizationauthority;
	}

	public void setMassorganizationauthority(
			Massorganizationauthority massorganizationauthority) {
		this.massorganizationauthority = massorganizationauthority;
	}

	public CommuneMemberinfo getCommuneMemberinfo() {
		return this.communeMemberinfo;
	}

	public void setCommuneMemberinfo(CommuneMemberinfo communeMemberinfo) {
		this.communeMemberinfo = communeMemberinfo;
	}

	public Timestamp getAuthorityObtainTime() {
		return this.authorityObtainTime;
	}

	public void setAuthorityObtainTime(Timestamp authorityObtainTime) {
		this.authorityObtainTime = authorityObtainTime;
	}

	public Timestamp getAuthorityExpiryTime() {
		return this.authorityExpiryTime;
	}

	public void setAuthorityExpiryTime(Timestamp authorityExpiryTime) {
		this.authorityExpiryTime = authorityExpiryTime;
	}

	public Boolean getCanGrant() {
		return this.canGrant;
	}

	public void setCanGrant(Boolean canGrant) {
		this.canGrant = canGrant;
	}

	public Integer getGrantor() {
		return this.grantor;
	}

	public void setGrantor(Integer grantor) {
		this.grantor = grantor;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public String getExpandBar1() {
		return this.expandBar1;
	}

	public void setExpandBar1(String expandBar1) {
		this.expandBar1 = expandBar1;
	}

	public String getExpandBar2() {
		return this.expandBar2;
	}

	public void setExpandBar2(String expandBar2) {
		this.expandBar2 = expandBar2;
	}

}